package com.xiashitech.interfaces.apiservice.dto;


import com.xiashitech.interfaces.apiservice.dto.base.DB;
import com.xiashitech.interfaces.apiservice.dto.base.Request;
import lombok.*;

@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper=true)
public class AuthFactRequest extends Request {
    @NonNull
    private String systemId;
    @NonNull
    private String appCode;

    private String sourceSystemId;

    private String apiName;

    private String apiSystemId;

    @Builder
    public AuthFactRequest(String sign, String userId, DB db, String systemId, String appCode) {
        super(sign, userId, db);
        this.systemId = systemId;
        this.appCode = appCode;
    }
}
